package com.spzx.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.order.domain.OrderForm;
import com.spzx.order.domain.OrderInfo;
import com.spzx.order.domain.TradeVo;

public interface IOrderInfoService extends IService<OrderInfo> {

    TradeVo orderTradeData();

    Long submitOrder(OrderForm orderForm);

    void processCloseOrder(String orderId);

    OrderInfo getByOrderNo(String orderNo);

    void updateOrderStatus(String orderNo);


    Page<OrderInfo> pageOrderInfoList(Page<OrderInfo> objectPage, Integer orderStatus);
}
